package com.most.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.most.api.UserVO;
import com.most.auth.dto.Role;
import com.most.auth.dto.User;

import java.util.List;

public interface UserService extends IService<User> {

    List<Role> findRoleByUserId(Long userId);

    List<String> getPermissionsById(Long id);

    UserVO findOneByUserName(String username);
    void setPassword(User user);

    String getPassword(String password,String salt);
}
